| Fully Qualified Name: | Laminas\Mvc\Controller\Plugin\Url |
| Extends: | AbstractPlugin |
| Name | Description | Defined By |
|---|---|---|
| fromRoute() | Generates a URL based on a route | Url |
| getController() | Get the current controller instance | AbstractPlugin |
| setController() | Set the current controller instance | AbstractPlugin |
Generates a URL based on a route
| Parameter Name | Type | Description |
|---|---|---|
| $route | string | RouteInterface |
| $params | array|\Traversable | Parameters |
| $options | array|bool | RouteInterface-specific |
| $reuseMatchedParams | bool | Whether |
Returns: string
Get the current controller instance
Returns: null|\Dispatchable
Set the current controller instance
| Parameter Name | Type | Description |
|---|---|---|
| $controller | \Dispatchable |
Returns: void